package com.hh.bss.common;

import java.io.Serializable;
import java.util.List;

public class TreeNodeDTO implements Serializable {
	private static final long serialVersionUID = -8981323930079203809L;
	private String id;
	private String text;
	private List<TreeNodeDTO> children;
	private boolean leaf;

	public TreeNodeDTO() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<TreeNodeDTO> getChildren() {
		return children;
	}

	public void setChildren(List<TreeNodeDTO> children) {
		this.children = children;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

}
